var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; };
if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } }
{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
$(function() {
"use strict";
/* ==========================================================================
Sub Form
========================================================================== */
$('#mc-form').ajaxChimp({
language: 'cm',
url: 'https://web.archive.org/web/20190328032334/http://designinvento.us13.list-manage.com/subscribe/post?u=660f00e090e7dfde0cc182e36949a365-us13&id=a94b831932'
//http://xxx.xxx.list-manage.com/subscribe/post?u=xxx&id=xxx
});
$('#mc-form2').ajaxChimp({
language: 'cm',
url: 'https://web.archive.org/web/20190328032334/http://designinvento.us13.list-manage.com/subscribe/post?u=660f00e090e7dfde0cc182e36949a365-us13&id=a94b831932'
//http://xxx.xxx.list-manage.com/subscribe/post?u=xxx&id=xxx
});
$.ajaxChimp.translations.cm = {
'submit': 'Submitting...',
0: ' Awesome! We have sent you a confirmation email',
1: ' Please enter a value',
2: ' An email address must contain a single @',
3: ' The domain portion of the email address is invalid (the portion after the @: )',
4: ' The username portion of the email address is invalid (the portion before the @: )',
5: ' This email address looks fake or invalid. Please enter a real email address'
};
/* ==========================================================================
Tweet
========================================================================== */
$('.tweet').twittie({
username: 'envatomarket', // change username here
dateFormat: '%b. %d, %Y',
template: '{{tweet}} {{user_name}}',
count: 10
}, function() {
var item = $('.tweet ul');
item.children('li').first().show().siblings().hide();
setInterval(function() {
item.find('li:visible').fadeOut(500, function() {
$(this).appendTo(item);
item.children('li').first().fadeIn(500);
});
}, 5000);
});
/* ==========================================================================
sticky nav
========================================================================== */
$('.navbar-default').waypoint('sticky', {
offset: -800
});
/* ==========================================================================
litebox
========================================================================== */
$('.litebox-hero, .litebox-tour').magnificPopup({
type: 'iframe'
});
/* ==========================================================================
Number animation
========================================================================== */
$('.welcome-message').waypoint(function() {
var comma_separator_number_step = $.animateNumber.numberStepFactories.separator(',');
$('.total-number-1').animateNumber({
number: 50, //change value here
numberStep: comma_separator_number_step
}, 6000);
}, {
offset: '80%'
});
/* ==========================================================================
Feature image absolute position height fix
========================================================================== */
$(window).load(function() {
var featureImg = function() {
$(".features div[class='row'] .col-md-7").each(function() {
var newHeight = 0,
$this = $(this);
$.each($this.children(), function() {
newHeight += $(this).height();
});
$this.height(newHeight);
});
};
featureImg();
$(window).on("resize", function() {
featureImg();
});
});
/* ==========================================================================
Smooth scroll
========================================================================== */
$('a[href*=#]:not([href=#])').on('click', function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
$('html,body').animate({
scrollTop: (target.offset().top - 40)
}, 1000);
return false;
}
}
});
/* ==========================================================================
VIDEO BG
========================================================================== */
var vid = {};
vid.vPlay = function(){
$('.videobg').vidbg({
'mp4': 'https://web.archive.org/web/20190328032334/http://demo.designinvento.com/html/step/js/video/guiter.mp4',
'poster': 'poster2.jpg'/*tpa=http://demo.designinvento.com/html/step/js/video/poster2.jpg*/,
}, {
// Options
muted: true,
loop: true,
overlay: true,
overlayColor: '#2b2b2b',
overlayAlpha: '0.5',
});
}
$('.vidplay').on('click' , function(){
if ($('.vidplay').hasClass('videoplay')){
$('.vidplay').removeClass('videoplay');
$('.vidbg-container').remove();
}else {
vid.vPlay();
$('.vidplay').addClass('videoplay');
}
});
var vid2 = {};
vid2.vPlay2 = function(){
$('.header-video').vidbg({
'mp4': 'https://web.archive.org/web/20190328032334/http://demo.designinvento.com/html/step/js/video/photo.mp4',
'poster': 'poster3.jpg'/*tpa=http://demo.designinvento.com/html/step/js/video/poster3.jpg*/,
}, {
// Options
muted: true,
loop: true,
overlay: true,
overlayColor: '#2b2b2b',
overlayAlpha: '0.6',
});
}
$('.vidplay2').on('click' , function(){
if ($('.vidplay2').hasClass('videoplay2')){
$('.vidplay2').removeClass('videoplay2');
$('.vidbg-container').remove();
}else {
vid2.vPlay2();
$('.vidplay2').addClass('videoplay2');
}
});
/*-----------------------------------
FUNFACTSs
-----------------------------------*/
$('.count').waypoint(function() {
// start all the timers
$('.count').each(count);
function count(options) {
var $this = $(this);
options = $.extend({}, options || {}, $this.data('countToOptions') || {});
$this.countTo(options);
}
},
{
offset: '80%', // middle of the page
triggerOnce: true
});
});
wow = new WOW(
{
animateClass: 'animated',
offset: 100
}
);
wow.init();
}
/*
FILE ARCHIVED ON 03:23:34 Mar 28, 2019 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 19:18:18 Dec 14, 2024.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
captures_list: 0.423
exclusion.robots: 0.016
exclusion.robots.policy: 0.008
esindex: 0.008
cdx.remote: 19.225
LoadShardBlock: 67.99 (3)
PetaboxLoader3.datanode: 112.435 (5)
load_resource: 83.522 (2)
*/ PetaboxLoader3.resolve: 158.112 (2)
*/